﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Search" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Search Page</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="bookstore, theme, free template, nivo image slider, website, templatemo, CSS, HTML" />
    <meta name="description" content="Bookstore Theme, free CSS template from templatemo.com" />
    <link href="css/templatemo_style.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" type="text/css" href="css/ddsmoothmenu.css" />
    <script src="js/bootstrap.js" type="text/javascript"></script>
    <link href="css/bootstrap.css" rel="Stylesheet" type="text/css" />
    
    <script type="text/javascript" src="js/jquery.min.js"></script>

    <script type="text/javascript" src="js/ddsmoothmenu.js">

/***********************************************
* Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/

    </script>

    <script type="text/javascript">

ddsmoothmenu.init({
	mainmenuid: "templatemo_menu", //menu DIV id
	orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
	classname: 'ddsmoothmenu', //class added to menu's outer DIV
	//customtheme: ["#1c5a80", "#18374a"],
	contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})

    </script>

    <link rel="stylesheet" type="text/css" media="all" href="css/jquery.dualSlider.0.2.css" />

    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script src="js/jquery.easing.1.3.js" type="text/javascript"></script>

    <script src="js/jquery.timers-1.2.js" type="text/javascript"></script>

    <script src="js/jquery.dualSlider.0.3.min.js" type="text/javascript"></script>

    <script type="text/javascript">
    
    $(document).ready(function() {
        
        $("#carousel").dualSlider({
            auto:true,
            autoDelay: 6000,
            easingCarousel: "swing",
            easingDetails: "easeOutBack",
            durationCarousel: 1000,
            durationDetails: 600
        });
        
    }); 
    
    </script>

    <link rel="stylesheet" href="css/slimbox2.css" type="text/css" media="screen" />

    <script type="text/JavaScript" src="js/slimbox2.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="templatemo_header_wrapper">
        <div id="templatemo_header">
            <div id="templatemo_menu" class="ddsmoothmenu">
                <ul>
                    <li><a href="Browse.aspx" class="selected">Browse</a></li>
                    <li><a href="Search.aspx">Search</a></li>
                </ul>
                <br style="clear: left" />
            </div>
            <!-- end of templatemo_menu -->
            <div class="clear">
            </div>
            <!-- END of templatemo_slider_wrapper -->
        </div>
        <!-- END of header -->
    </div>
    <div align="center">
        <table border="0" cellpadding="5" cellspacing="5">
            <tr>
                <td>
                </td>
                <td>
                </td>
                <td>
                    <font color="blue">
                        <asp:Label ID="Label1" runat="server" Text="Suggest Info (Don't need to choose)"></asp:Label></font>
                </td>
            </tr>
            <tr>
                <td align=right>
                    <b><font color="black">
                        <asp:Label ID="lbType" runat="server" Text="Type"></asp:Label></font></b>
                </td>
                <td>
                    <asp:TextBox ID="txtType" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td>
                    <asp:DropDownList class="btn dropdown" ID="DropDownList1" runat="server">
                        <asp:ListItem Value="1">Book</asp:ListItem>
                        <asp:ListItem Value="2">Journal</asp:ListItem>
                        <asp:ListItem Value="3">Thesis</asp:ListItem>
                        <asp:ListItem Value="4">CD</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align=right>
                    <b><font color="black">
                        <asp:Label ID="lbID" runat="server" Text="ID"></asp:Label></font></b>
                </td>
                <td>
                    <asp:TextBox ID="txtID" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td>
                    <asp:DropDownList class="btn dropdown" ID="DropDownList2" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align=right>
                    <b><font color="black">
                        <asp:Label ID="lbTitle" runat="server" Text="Title"></asp:Label></font></b>
                </td>
                <td>
                    <asp:TextBox ID="txtTitle" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td>
                    <asp:DropDownList class="btn dropdown" ID="DropDownList3" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align=right>
                    <b><font color="black">
                        <asp:Label ID="lbAuthor" runat="server" Text="Name Of Author"></asp:Label></font></b>
                </td>
                <td>
                    <asp:TextBox ID="txtAuthor" runat="server" Width="180px"></asp:TextBox>
                </td>
                <td>
                    <asp:DropDownList class="btn dropdown" ID="DropDownList4" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
        </table>
    </div>
    <div>
                    <center><asp:Button class="btn btn-large btn-primary" ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" /></center>
        <asp:ListView runat="server" ID="listView1">
            <LayoutTemplate>
                <h1>
                    <font color="blue">Result of Browsing</font></h1>
                <asp:Panel ID="Panel1" runat="server" BorderStyle="Double" BorderColor="Desktop"
                    Style="margin: 5px; padding: 5px">
                    <asp:PlaceHolder runat="server" ID="itemPlaceHolder" />
                </asp:Panel>
            </LayoutTemplate>
            <ItemSeparatorTemplate>
                <hr />
            </ItemSeparatorTemplate>
            <ItemTemplate>
                <table border="0">
                    <tr>
                        <td rowspan="3">
                            <asp:Image ID="Image1" runat="server" ImageUrl="images/portfolio/01.jpg" Width="60"
                                Height="75" />
                        </td>
                        <td>
                            <b><font color="blue">
                                <%#Eval ("Title") %></font></b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <font color="blue">Author Name:</font><font color="black"><b><%#Eval("AuthorName")%></font></b>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <font color="blue">Description:</font><font color="black"><%#Eval ("Classifier")%></font>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <a href="Detail.aspx?id=<%#Eval ("ID") %>"><font color="blue">More detail</font></a>
                        </td>
                    </tr>
                </table>
                <br />
            </ItemTemplate>
        </asp:ListView>
    </div>
    </form>
</body>
</html>
